package com.danskin.wechat.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class GiftConfig implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5490899880524360585L;
	
	private Integer id;
	/*
	公众平台ID
	**/	
	private Integer mpId ;
	/*
	礼券类型（1：新人礼；2：感恩礼）
	**/	
	private Integer type ;
	/*
	名称
	**/	
	private String name ;
	/*
	库存数量
	**/	
	private Integer totalQty ;
	/*
	已使用库存数量
	**/	
	private Integer usedQty ;
	/*
	中奖概率
	**/	
	private BigDecimal probability ;
	/*
	类型（official_coupon：官网券；coupon：门店券、point：积分、product：实物）
	**/	
	private String prizeType ;
	/*
	优惠券模版ID
	**/	
	private String couponTemplateId ;
	/*
	积分
	**/	
	private Integer points ;
	/*
	奖品图片
	**/	
	private String picUrl ;
	/*
	创建时间
	**/	
	private Date createdTime ;
	/*
	最后一次修改时间
	**/	
	private Date lastModifiedTime ;
	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id = id;
	}
	public Integer getMpId(){
		return mpId;
	}
	public void setMpId(Integer mpId){
		this.mpId = mpId;
	}
	public Integer getType(){
		return type;
	}
	public void setType(Integer type){
		this.type = type;
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public Integer getTotalQty() {
		return totalQty;
	}
	public void setTotalQty(Integer totalQty) {
		this.totalQty = totalQty;
	}
	public Integer getUsedQty() {
		return usedQty;
	}
	public void setUsedQty(Integer usedQty) {
		this.usedQty = usedQty;
	}
	public BigDecimal getProbability() {
		return probability;
	}
	public void setProbability(BigDecimal probability) {
		this.probability = probability;
	}
	public String getPrizeType(){
		return prizeType;
	}
	public void setPrizeType(String prizeType){
		this.prizeType = prizeType;
	}
	public String getCouponTemplateId(){
		return couponTemplateId;
	}
	public void setCouponTemplateId(String couponTemplateId){
		this.couponTemplateId = couponTemplateId;
	}
	public Integer getPoints(){
		return points;
	}
	public void setPoints(Integer points){
		this.points = points;
	}
	public String getPicUrl(){
		return picUrl;
	}
	public void setPicUrl(String picUrl){
		this.picUrl = picUrl;
	}
	public Date getCreatedTime(){
		return createdTime;
	}
	public void setCreatedTime(Date createdTime){
		this.createdTime = createdTime;
	}
	public Date getLastModifiedTime(){
		return lastModifiedTime;
	}
	public void setLastModifiedTime(Date lastModifiedTime){
		this.lastModifiedTime = lastModifiedTime;
	}
}
